home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / slink.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.2 KB  |  40 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-103]
  2. [C;6;B]        SLINK
  3. [J;1;N]
  4.   This instruction enables the creation of the \
  5. special creators and destructors tables. This will \
  6. ask to lk to create the '___ctors' and '___dtors' \
  7. arrays.
  8.  
  9.   This option automatically calls CC and BLOCKUNIT. \
  10. Now the following instructions are needed to ensure \
  11. that lk will work correctly (as Slink):
  12.  
  13.       SLINK   ALV
  14.       DEFINE  __BSSBAS=__BSS_BASE
  15.               __BSSLEN=__BSS_LENGTH
  16.               _LinkerDB=__DATA_START
  17.               __BackGroundIO=___BackGroundIO
  18.  
  19.  or for resident:
  20.  
  21.       DEFINE  _LinkerDB=__DATA_BASE
  22.               __RESBASE=__DATA_OFFSET
  23.               __RESLEN=__DATA_SIZE
  24.               _NEWDATAL=__DATA_LENGTH
  25.               __BackGroundIO=___BackGroundIO
  26.  
  27.   I added an option for those symbols, even a very \
  28. simple test would suffice for two reasons. Not \
  29. slow down the speed of lk, and enable anyone \
  30. to use the special symbols '___ctors' and '___dtors' \
  31. like any other symbol.
  32.  
  33.   See also:
  34. [L;3][LINK auto]            Auto-Init/Exit
  35. [LINK block]                BLOCKHUNK
  36. [LINK block]                BLOCKUNIT
  37. [LINK cc]                CC
  38. [LINK dice]                DICE
  39. [5; LINK about; GOTO address]        Become Registred
  40.